import Vue from 'vue'
import App from './App'
import api from 'common/apihttp/'
import config from 'common/config.js'
import util from '@/common/util.js';
import interf from '@/common/interface.js';

Vue.prototype.util = util;
Vue.prototype.$interface = interf;
Vue.config.productionTip = false

Vue.prototype.$api = api.setPath('ajaxUrl')
Vue.prototype.$uploadApi = api.setPath('uploadUrl');
Vue.prototype.$shopApi = api.setPath('shopUrl');
Vue.prototype.defimg = 'https://teacher-obj.oss-cn-beijing.aliyuncs.com/headportrait/202006/11/f4eff5a1e15d257d0f943af4e7084b69410.png';

App.mpType = 'app'

const app = new Vue({
	...App
})
app.$mount()

